#######################################################
# ETFDAQ Project
#
# Author SUN Yazhou
# Created: 2024/08/11
# Last modified: 2024/08/15
#######################################################

set(target ETFDAQ)

file(GLOB_RECURSE LIB_SRCS *.cxx)
add_library(${target} SHARED ${LIB_SRCS})

set(subdirs ../sis/dev/pci ../sis/sis3100_calls caen daq mesytec online tools)
foreach(dir ${subdirs})
  target_include_directories(${target} PUBLIC ${dir})
endforeach()

target_link_libraries(${target} _sis3100)
